home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / UTILITY / SNR40.ARJ / CAP2LC.SNR < prev    next >
Text File  |  1990-07-20  |  2KB  |  72 lines

  1. \  This table will create sentence-style upper and lower case text
  2. \  from text that is all upper case.
  3.  
  4. \  Lower case characters will be left the same.
  5.  
  6. A*00=A*01         \ This series of equations outputs a Cap for a Cap,
  7. B*00=B*01         \ when the context flag's state is OFF, and then they
  8. C*00=C*01         \ each will set the context flag's state ON.
  9. D*00=D*01
  10. E*00=E*01
  11. F*00=F*01
  12. G*00=G*01
  13. H*00=H*01
  14. I*00=I*01
  15. J*00=J*01
  16. K*00=K*01
  17. L*00=L*01
  18. M*00=M*01
  19. N*00=N*01
  20. O*00=O*01
  21. P*00=P*01
  22. Q*00=Q*01
  23. R*00=R*01
  24. S*00=S*01
  25. T*00=T*01
  26. U*00=U*01
  27. V*00=V*01
  28. W*00=W*01
  29. X*00=X*01
  30. Y*00=Y*01
  31. Z*00=Z*01
  32.  
  33. A*01=a            \ This series of equations outputs a Lower for a Cap,
  34. B*01=b            \ when the context flag's state is ON. Notice that no
  35. C*01=c            \ flag state is set in the replacement. That's because
  36. D*01=d            \ we don't want each character to affect the context 
  37. E*01=e            \ flag. The group of equations that follows this will
  38. F*01=f            \ do that.
  39. G*01=g
  40. H*01=h
  41. I*01=i
  42. J*01=j
  43. K*01=k
  44. L*01=l
  45. M*01=m
  46. N*01=n
  47. O*01=o
  48. P*01=p
  49. Q*01=q
  50. R*01=r
  51. S*01=s
  52. T*01=t
  53. U*01=u
  54. V*01=v
  55. W*01=w
  56. X*01=x
  57. Y*01=y
  58. Z*01=z
  59.  
  60. .=.*00            \  And each of these punctuation characters
  61. /=/*00            \  will set the context flag's state OFF, so that
  62. (=(*00            \  the next Alphabetic Cap will be output as a Cap
  63. :=:*00            \  (see the first group of equations, above).
  64. @=@*00            \  Notice that these equations do not specify the
  65. \2a=\2a*00        \  test state of the context flag! That's because
  66. !=!*00            \  we don't care what state the context flag is in
  67. ?=?*00            \  when these equations are encountered -- we just
  68. <=<*00            \  want them to take effect no matter what.
  69. [=[*00
  70.  
  71. \\E
  72.